﻿
namespace KlearTweet.Client.Workspace
{
    public partial class WorkspaceView
    {
        public WorkspaceView()
        {
            InitializeComponent();

            SetDiagnosticPanelVisibility(false);
        }

        public void SetDiagnosticPanelVisibility(bool isVisible)
        {
            DiagnosticPanel.Visibility = isVisible
                ? System.Windows.Visibility.Visible
                : System.Windows.Visibility.Collapsed;
            if (isVisible)
                DiagnosticPanel.UpdateLog();
        }
    }
}
